package com.ruoyi.app.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domain.app.Order;
import com.ruoyi.system.domain.app.RechargeOrder;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface ChargeOrderService {

    List<Order> chargeList();

    AjaxResult getOrderInfo(Long id ,Integer type);

    List<RechargeOrder> rechargeList(Long orderId);

    Long createChargeOrder(Long communityId,Long optionId);

    Long createCardChargeOrder(Long communityId,Long optionId,String cardNum);

    Long createComboChargeOrder(Long communityId,Long optionId);

    Long createRecharge(String deviceNum, Integer chargeTime,Integer socketNo);

    Long createPayRecharge(String deviceNum, BigDecimal chargeMoney,Integer socketNo);

    void delRecharge(Long orderId);

    void endRecharge(String orderNo);

    void openDoorCellOut(String orderNo);

    Map createWxPayV2(Long orderId, Integer type, String code,String appId);

    void wxPayResult(Map<String, String> mapResult,String attach);
}
